<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/res/common/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>${site}用户编辑页</title>
<%@ include file="/res/common/meta.jsp" %>
<!-- link href="${ctx}/res/css/" type="text/css" rel="stylesheet"  -->
<script src="${ctx}/res/js/jquery-1.2.6.js" type="text/javascript"></script>
<script src="${ctx}/res/js/main-frame-style.js" type="text/javascript"></script>
<%@ include file="/res/common/js-css.jsp" %>
<style type="text/css">
<!--
.content .list div {
	width: 300px;
}

-->
</style>
<link href="${ctx}/res/css/main.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.STYLE1 {color: #FF0000}
-->
</style>
</head>

<body>
<div class="content">
  <div class="title"><table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="63%"><strong>添加栏目</strong></td>
    <td width="30%" align="right"><a href="category">栏目列表</a> - <a href="news">新闻列表</a></td>
    <td width="2%"></td><td width="5%"><img src="${ctx}/res/images/up1.gif" border="0" class="close" /></td>
  </tr></table></div>
  <span class="list">
  <form action="category!save.action" method="post">
	  <input type="hidden" name="id" value="${model.id}"/>
      <input type="hidden" name="parent.id" value="${model.parent.id}"/>
    <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="15%" height="30" align="center">&nbsp;</td>
        <td height="25">
        	<span class="STYLE1">
			<s:property value="exception.message"/>
			<s:property value="message"/>  
		</span>        </td>
      </tr>
      <tr>
        <td width="15%" height="30" align="center">父栏目名称</td>
        <td height="25"><input type="text" name="parent.name" value="${model.parent.name}" readonly="readonly"/> </td>
      </tr>
      <tr>
        <td height="30" align="center">栏目名称</td>
        <td height="25"><input name="name" type="text" value="${model.name}"/> <span class="STYLE1">*</span></td>
      </tr>
   
      <tr>
        <td height="30" align="center"><input type="submit" value="保存"/></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td align="center">&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
    </table>
  </form>
	

  </span>
</div>


</body>

</html>
